package com.powernode.proxy.service;

public class User {
    public boolean login(String username,String password){
        System.out.println("用户正在登陆");
        if ("zhangsan".equals(username) && "123".equals(password)) {
            return true;
        }
        return false;
    }

    public void logout(){
        System.out.println("用户退出登录");
    }
}
